package com.mayflygeek.mayflyask.framework.webmvc.interceptor;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;

import com.google.common.collect.Lists;
import com.mayflygeek.mayflyask.framework.webmvc.annotation.After;

/**
 * @author 虫虫
 * @team 蜉蝣极客
 * @link www.mayflygeek.com
 * @Emial chongchong@mayflygeek.com
 * 
 */
public class AfterAnnotatedMethodHandler extends AbstractAnnotatedMethodHandler<After> {

	@Override
	public List<Class<?>> getSupportedInjectParameterTypes() {
		return Lists.newArrayList(HttpServletRequest.class, HttpServletResponse.class, ModelAndView.class);
	}

	@Override
	public Class<After> getMethodAnnotation() {
		return After.class;
	}

}
